<%--
  Created by IntelliJ IDEA.
  User: leep
  Date: 2015-12-29
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<title>登录</title>
</head>
<body>
<% String errorMsg = (String) request.getAttribute("errorMsg"); %>
<% if (errorMsg != null) {%>
<h1><%=errorMsg%>
</h1>
<%}%>
<form action="/login" method="post">
	用户名称:<input name="username" type="text"/><br/>
	密码:<input name="password" type="password"/><br/>
	<input name="提交" type="submit" value="提交"/>
	<a href="/register">注册</a>
</form>
</body>
</html>
